package com.dou.you.che.core.entity.product;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * ��Ʒ
 * @Author �ƹ�ա�1058118328@qq.com��
 */
@Data
public class Goods implements Serializable{

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * ��Ʒ����Id
     */
    private Integer categoryId;

    /**
     * ��Ʒ���к�
     */
    private String goodsSn;

    /**
     * ���
     */
    private String name;

    /**
     * Ʒ��Id
     */
    private Integer brandId;

    /**
     * ��Ʒ���к�
     */
    private Integer goodsNumber;

    /**
     * �ؼ���
     */
    private String keywords;

    /**
     * ��������
     */
    private String goodsBrief;

    /**
     * ��Ʒ����
     */
    private String goodsDesc;

    /**
     * �ϼ�
     */
    private Integer isOnSale;

    /**
     * ���ʱ��
     */
    private Date addTime;

    /**
     * �޸�ʱ��
     */
    private Date updateTime;

    /**
     * ����
     */
    private Integer sortOrder;

    /**
     * ɾ��״̬
     */
    private Integer isDelete;

    /**
     * �������
     */
    private Integer attributeCategory;

    /**
     * ר��۸�
     */
    private BigDecimal counterPrice;

    /**
     * ���Ӽ۸�
     */
    private BigDecimal extraPrice;

    /**
     * �Ƿ�����Ʒ
     */
    private Integer isNew;

    /**
     * ��Ʒ��λ
     */
    private String goodsUnit;

    /**
     * ��Ʒ��ͼ
     */
    private String primaryPicUrl;

    /**
     * ��Ʒ�б�ͼ
     */
    private String listPicUrl;

    /**
     * ���ۼ۸�
     */
    private BigDecimal retailPrice;

    /**
     * ������
     */
    private Integer sellVolume;

    /**
     * ��sku��product_id
     */
    private Integer primaryProductId;

    /**
     * ��λ�۸񣬵���
     */
    private BigDecimal unitPrice;

    /**
     * �ƹ�����
     */
    private String promotionDesc;

    /**
     * �ƹ��ǩ
     */
    private String promotionTag;

    /**
     * APPר���
     */
    private BigDecimal appExclusivePrice;

    /**
     * �Ƿ���APPר��
     */
    private Integer isAppExclusive;

    /**
     * �޹�
     */
    private Integer isLimited;

    /**
     * ����
     */
    private Integer isHot;

    /**
     * �г���
     */
    private BigDecimal marketPrice;

    /**
     * �û�ID
     */
    private Long createUserId;

    /**
     * �û�ID
     */
    private Long createUserDeptId;

    /**
     * �û�ID
     */
    private Long updateUserId;

    List<GoodsAttribute> attributeList = new ArrayList<>();

    List<GoodsGallery> goodsImgList = new ArrayList<>();

    /**
     * �������ֶ�
     * ��Ʒ����
     */
    private String categoryName;

    /**
     * �������
     */
    private String attributeCategoryName;

    /**
     * Ʒ��
     */
    private String brandName;
}
